ExamPlay Light Logo
Нэвтрэх

Computer Science for IGCSE & O level - Programming (Section 10 - No. 48)

What is the primary function of the 'try' and 'catch' blocks?
To create new files
To handle potential errors (exceptions) in a program.
To read data from files.
To write data to files.

Тайлбар

'try' and 'catch' are used to catch and manage errors that might occur during the execution of code.

Смхиман (0)

Сэтгэгдэл бичихийн тулд нэвтэрнэ үү
Сурталчилгаа
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc